package com.crazymakercircle.imServer.test;

/**
 * @Description
 * @Date 2021/7/22
 * @Created by Jonathan
 */
public interface TaskDemo<R> {
    R execute() throws Exception;

    void onSuccess(R r);

    void onFailure(Throwable t);
}
